#!/bin/sh

#file path set
shelldir="/home/trade/shell"
bakdir="./bakfile"
destdir="./destfile"
showagshell="showagent.sh"

showagshellfile="${destdir}/${showagshell}"

chmod +x ${showagshell}

#copy shell
cp ${showagshell} ${bakdir}/showagent.sh



#edit file to destfile
cp ${showagshell} ${destdir}/showagent.sh

#write destfile to shell
#cp ${showagshellfile} ${shelldir}/

